const express = require('express')
const app = express()
const router = require('./router/index')

app.use('/',router)

const server = app.listen(5000,() =>{
    const { address, port } = server.address()
    console.log('Http Server is running on http://%s:%s', address, port)
})